users.users.<name>.shell
The path to the user's shell. Can use shell derivations,
like pkgs.bashInteractive. Don’t
forget to enable your shell in
programs if necessary,
like programs.zsh.enable = true;.
- Type
null or package or (absolute path, not containing newlines or colons)- Default
pkgs.shadow- Example
pkgs.bashInteractive- Declared
- <nixpkgs/nixos/modules/config/users-groups.nix>